package com.wench.design.pattern.factory.config_factory;

/**
 * @author wench
 */
public class ConfigFactoryClient {

    public static void main(String[] args) {
        Coffee american = CoffeeFactory.createCoffee("american");
        System.out.println(american.getName());
        System.out.println("--------------------");
        Coffee latte = CoffeeFactory.createCoffee("latte");
        System.out.println(latte.getName());
    }
}
